/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.ibpPanleMidware.bean;

/**
 *
 * @author Rainbow
 */
public class StationConfig
{
    private int stationId;
    private String stationName;
    private String addr1;
    private String addr2;
    private String lineId;
    private String commandTableName;
    private int commandAddress;
    private String commandIpList;
    private String commandExtend1;
    private String commandExtend2;
    private String commandExtend3;
    private String dataTableName;
    private int dataAddress;
    private String dataIpList;
    private String dataGroup;
    private String dataExtend1;
    private String dataExtend2;
    private String dataExtend3;

    public int getStationId()
    {
        return stationId;
    }

    public void setStationId(int stationId)
    {
        this.stationId = stationId;
    }

    public String getStationName()
    {
        return stationName;
    }

    public void setStationName(String stationName)
    {
        this.stationName = stationName;
    }

    public String getAddr1()
    {
        return addr1;
    }

    public void setAddr1(String addr1)
    {
        this.addr1 = addr1;
    }

    public String getAddr2()
    {
        return addr2;
    }

    public void setAddr2(String addr2)
    {
        this.addr2 = addr2;
    }

    public String getLineId()
    {
        return lineId;
    }

    public void setLineId(String lineId)
    {
        this.lineId = lineId;
    }

    public String getCommandTableName()
    {
        return commandTableName;
    }

    public void setCommandTableName(String commandTableName)
    {
        this.commandTableName = commandTableName;
    }

    public int getCommandAddress()
    {
        return commandAddress;
    }

    public void setCommandAddress(int commandAddress)
    {
        this.commandAddress = commandAddress;
    }

    public String getDataTableName()
    {
        return dataTableName;
    }

    public void setDataTableName(String dataTableName)
    {
        this.dataTableName = dataTableName;
    }

    public int getDataAddress()
    {
        return dataAddress;
    }

    public void setDataAddress(int dataAddress)
    {
        this.dataAddress = dataAddress;
    }

    public String getDataGroup()
    {
        return dataGroup;
    }

    public void setDataGroup(String dataGroup)
    {
        this.dataGroup = dataGroup;
    }

    public String getDataIpList()
    {
        return dataIpList;
    }

    public void setDataIpList(String dataIpList)
    {
        this.dataIpList = dataIpList;
    }
    
    public String[] getDataIpListArray()
    {
        return dataIpList.split("\\|");
    }
    
    public String[] getCommandIpListArray()
    {
        return commandIpList.split("\\|");
    }

    public String getCommandIpList()
    {
        return commandIpList;
    }

    public void setCommandIpList(String commandIpList)
    {
        this.commandIpList = commandIpList;
    }

    public String getCommandExtend1()
    {
        return commandExtend1;
    }

    public void setCommandExtend1(String commandExtend1)
    {
        this.commandExtend1 = commandExtend1;
    }

    public String getCommandExtend2()
    {
        return commandExtend2;
    }

    public void setCommandExtend2(String commandExtend2)
    {
        this.commandExtend2 = commandExtend2;
    }

    public String getCommandExtend3()
    {
        return commandExtend3;
    }

    public void setCommandExtend3(String commandExtend3)
    {
        this.commandExtend3 = commandExtend3;
    }

    public String getDataExtend1()
    {
        return dataExtend1;
    }

    public void setDataExtend1(String dataExtend1)
    {
        this.dataExtend1 = dataExtend1;
    }

    public String getDataExtend2()
    {
        return dataExtend2;
    }

    public void setDataExtend2(String dataExtend2)
    {
        this.dataExtend2 = dataExtend2;
    }

    public String getDataExtend3()
    {
        return dataExtend3;
    }

    public void setDataExtend3(String dataExtend3)
    {
        this.dataExtend3 = dataExtend3;
    }
    
    
}
